package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * jar包控量
 * </p>
 *
 * @author kutty
 * @since 2018-10-22
 */
@TableName("sys_jarset")
public class Jarset extends Model<Jarset> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 渠道
     */
    private String channel;
    /**
     * jar包名称
     */
    @TableField("jar_name")
    private String jarName;
    /**
     * 是否能用
     */
    @TableField("is_use")
    private Integer isUse;
    /**
     * jar包版本
     */
    @TableField("jar_version")
    private Integer jarVersion;
    /**
     * 用户数
     */
    @TableField("user_number")
    private Integer userNumber;
    /**
     * 启动次数
     */
    @TableField("start_number")
    private Integer startNumber;
    /**
     * 国家
     */
    private String country;
    /**
     * 省份
     */
    private String province;
    /**
     * 机型
     */
    private String model;
    /**
     * 运营商
     */
    private String opeartor;
    /**
     * 系统版本
     */
    private String os;
    /**
     * 备注
     */
    private String remark;
    /**
     * 时间
     */
    private Date date = new Date();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getJarName() {
        return jarName;
    }

    public void setJarName(String jarName) {
        this.jarName = jarName;
    }

    public Integer getIsUse() {
        return isUse;
    }

    public void setIsUse(Integer isUse) {
        this.isUse = isUse;
    }

    public Integer getJarVersion() {
        return jarVersion;
    }

    public void setJarVersion(Integer jarVersion) {
        this.jarVersion = jarVersion;
    }

    public Integer getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(Integer userNumber) {
        this.userNumber = userNumber;
    }

    public Integer getStartNumber() {
        return startNumber;
    }

    public void setStartNumber(Integer startNumber) {
        this.startNumber = startNumber;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getOpeartor() {
        return opeartor;
    }

    public void setOpeartor(String opeartor) {
        this.opeartor = opeartor;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Jarset{" +
        "id=" + id +
        ", channel=" + channel +
        ", jarName=" + jarName +
        ", isUse=" + isUse +
        ", jarVersion=" + jarVersion +
        ", userNumber=" + userNumber +
        ", startNumber=" + startNumber +
        ", country=" + country +
        ", province=" + province +
        ", model=" + model +
        ", opeartor=" + opeartor +
        ", os=" + os +
        ", remark=" + remark +
        ", date=" + date +
        "}";
    }
}
